package com.lzx.es.entity.articleVO;

import lombok.Data;

import java.util.List;

@Data
public class PageResult {
    //总条数
    private Long total;
    //所有问题
    private List<Articles> articles;

    public PageResult() {
    }

    public PageResult(Long total, List<Articles> articles) {
        this.total = total;
        this.articles = articles;
    }
}
